package com.jdc.entity;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.Json;
import java.util.Date;
import java.math.*;

@Table("t_language")
public class TLanguage {
	/**
	* 
	*/
	@Name
	@Column("id")
	@ColDefine(notNull=false, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String id;
	/**
	* 
	*/
	@Column("memid")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String memid;
	/**
	* 
	*/
	@Column("language")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=50)
	@Comment(value="")
	private String language;
	/**
	* 掌握程度 0 一般 1 良好 2 数量 3 精通
	*/
	@Column("major_level")
	@ColDefine(notNull=true, type=ColType.INT, width=10)
	@Comment(value="掌握程度 0 一般 1 良好 2 数量 3 精通")
	private Integer majorLevel;
	/**
	* 
	*/
	@Column("createtime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="")
	private Date createtime;
	/**
	* 
	*/
	@Column("updatetime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="")
	private Date updatetime;
	/**
	* 
	*/
	@Column("isdelete")
	@ColDefine(notNull=true, type=ColType.INT, width=10)
	@Comment(value="")
	private Integer isdelete;

	/**
	* 
	*/
	public String getId() {
		return id;
	}
	/**
	* 
	*/
	public void setId(String id) {
		this.id = id;
	}
	/**
	* 
	*/
	public String getMemid() {
		return memid;
	}
	/**
	* 
	*/
	public void setMemid(String memid) {
		this.memid = memid;
	}
	/**
	* 
	*/
	public String getLanguage() {
		return language;
	}
	/**
	* 
	*/
	public void setLanguage(String language) {
		this.language = language;
	}
	/**
	* 掌握程度 0 一般 1 良好 2 数量 3 精通
	*/
	public Integer getMajorLevel() {
		return majorLevel;
	}
	/**
	* 掌握程度 0 一般 1 良好 2 数量 3 精通
	*/
	public void setMajorLevel(Integer majorLevel) {
		this.majorLevel = majorLevel;
	}
	/**
	* 
	*/
	public Date getCreatetime() {
		return createtime;
	}
	/**
	* 
	*/
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	* 
	*/
	public Date getUpdatetime() {
		return updatetime;
	}
	/**
	* 
	*/
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	* 
	*/
	public Integer getIsdelete() {
		return isdelete;
	}
	/**
	* 
	*/
	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	@Override
	public String toString() {
		return Json.toJson(this);
	}
}
